home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / testdir / test24.in < prev    next >
Encoding:
Text File  |  2001-09-09  |  330 b   |  22 lines

  1. Tests for regexp with backslash and other special characters inside []
  2.  
  3. STARTTEST
  4. :set nocompatible viminfo+=nviminfo
  5. /[\x]
  6. x/[\t\]]
  7. x/[]y]
  8. x/[\]]
  9. x/[y^]
  10. x/[$y]
  11. x:?start?,$w! test.out
  12. :qa!
  13. ENDTEST
  14.  
  15. start
  16. test \text test text
  17. test     text test text
  18. test text ]test text
  19. test ]text test text
  20. test text te^st text
  21. test te$xt test text
  22.